<template>
  <t-dialog :header="header"  :visible.sync="visible" :onClose="closeDialog"     :closeOnOverlayClick="false"
            :confirmBtn="null" width="90%"
            top="5%">
    <t-table
      rowKey="id"
      bordered
      :data="data"
      :columns="columns"
      hover
    >
    </t-table>
  </t-dialog>
</template>

<script>
export default {
  name: "review-expert-innovation-list",
  props:["header","data"],
  data(){
    return {
      visible: true,
      columns:[
        {
          colKey: "sort",
          title: "成果编号",
          align: "center",
          width: 105
        },
        {
          colKey: "name",
          title: "成果名称",
          align: "center",
          width: 200,
        },
        {colKey: 'deptName', title: '申报单位',align: "center", ellipsis: true},
        {colKey: 'managerDeptName', title: '归口管理单位',align: "center", ellipsis: true},
        {colKey: 'leaderName', title: '负责人',align: "center", ellipsis: true},
        {colKey: 'phone', title: '联系电话',align: "center", ellipsis: true},
        {colKey: 'applicationField', title: '应用领域',align: "center", ellipsis: true},
        {colKey: 'innovationCategory', title: '成果类别',align: "center", ellipsis: true},
        {colKey: 'apply', title: '申报材料',align: "center", ellipsis: true,
          children: [
            {
              align: 'left',
              colKey: 'sps',
              title: '申报书',
              width: 100,
            },
            {
              align: 'left',
              colKey: 'sp',
              title: '视频',
              width: 100,
            },
            {
              align: 'left',
              colKey: 'tp',
              title: '图片',
              width: 100,
            },
            {
              align: 'left',
              colKey: 'gjjs',
              title: '关键技术原型及流程图',
              width: 100,
            },
            {
              align: 'left',
              colKey: 'qtzm',
              title: '其他证明材料(非必须)',
              width: 100,
            },
          ]
        },
        // {colKey: 'xsscjg', title: '形式审查结果',align: "center", ellipsis: true},
      ]
    }
  },
  methods:{
    closeDialog() {
      this.$emit("update:visible", false);
    },
  }
}
</script>

<style scoped>

</style>
